<p><%= flash[:notice] %></p>
<form action="healthmanage/out" method="get">
  <input type="submit" value="退出" />
</form>

<h1 align="center">个人信息情况表</h1></br>
<div class="container">
  <div class="row">
    <div class="col-md-4 col-md-offset-2">
    <input type="text" class="form-control" id="name" placeholder="姓名">
    </div>
    <div class="col-md-4">
    <input type="text" class="form-control" id="tel" placeholder="手机号码">
    </div>
  </div>
</div>
<div class="container">
  <div class="row">
    <h3>中医体质分类与判定表</h3>
    <div class="" id="groups">
      <table class="table table-bordered">
        <thead>
          <caption> 平和体质</caption>
        </thead>
        <tbody>
          <tr>
            <th>根据近一年的体验和感觉回答下问题</th>
            <th>没有或根本不</th>
            <th>很少或有一点</th>
            <th>有时或有些</th>
            <th>经常或相当</th>
            <th>总是或非常</th>
          </tr>
          <tr>
            <td>您精力充沛吗?</td>
            <td> <input type="radio" name="radio1" id="inlineRadio1" value="1" class="group1"> </td>
            <td><input  type="radio" name="radio1" id="inlineRadio1" value="2" class="group1">  </td>
            <td> <input type="radio" name="radio1" id="inlineRadio1" value="3" class="group1"> </td>
            <td><input  type="radio" name="radio1" id="inlineRadio1" value="4" class="group1">  </td>
            <td><input  type="radio" name="radio1" id="inlineRadio1" value="5" class="group1">  </td>
          </tr>
          <tr>
            <td>您容易疲乏吗？</td>
            <td> <input type="radio" name="radio2" id="inlineRadio1" value="1" class="group1"> </td>
            <td><input type="radio" name="radio2" id="inlineRadio1" value="2" class="group1">  </td>
            <td> <input type="radio" name="radio2" id="inlineRadio1" value="3" class="group1"> </td>
            <td><input type="radio" name="radio2" id="inlineRadio1" value="4" class="group1">  </td>
            <td><input type="radio" name="radio2" id="inlineRadio1" value="5" class="group1">  </td>
          </tr>
          <tr>
            <td>您说话的声音柔弱无力吗?</td>
            <td><input type="radio" name="radio3" id="inlineRadio1" value="1" class="group1">  </td>
            <td> <input type="radio" name="radio3" id="inlineRadio1" value="2" class="group1"> </td>
            <td><input type="radio" name="radio3" id="inlineRadio1" value="3" class="group1">  </td>
            <td> <input type="radio" name="radio3" id="inlineRadio1" value="4" class="group1"> </td>
            <td><input type="radio" name="radio3" id="inlineRadio1" value="5" class="group1">  </td>

          </tr>
          <tr>
            <td>您感觉到闷闷不乐吗情绪低沉吗?</td>
            <td><input type="radio" name="radio4" id="inlineRadio1" value="1" class="group1">  </td>
            <td> <input type="radio" name="radio4" id="inlineRadio1" value="2" class="group1"> </td>
            <td><input type="radio" name="radio4" id="inlineRadio1" value="3" class="group1">  </td>
            <td> <input type="radio" name="radio4" id="inlineRadio1" value="4" class="group1"> </td>
            <td><input type="radio" name="radio4" id="inlineRadio1" value="5" class="group1">  </td>

          </tr>
          <tr>
            <td>您比一般人受不了寒凉（冬天冷和夏天空调）吗?</td>
            <td><input type="radio" name="radio5" id="inlineRadio1" value="1" class="group1"> </td>
            <td> <input type="radio" name="radio5" id="inlineRadio1" value="2" class="group1"> </td>
            <td><input type="radio" name="radio5" id="inlineRadio1" value="3" class="group1">  </td>
            <td> <input type="radio" name="radio5" id="inlineRadio1" value="4" class="group1"> </td>
            <td><input type="radio" name="radio5" id="inlineRadio1" value="5" class="group1">  </td>

          </tr>
          <tr>
            <td>您能很快适应自然环境和社会环境的变化吗?</td>
            <td><input type="radio" name="radio6" id="inlineRadio1" value="1" class="group1">  </td>
            <td> <input type="radio" name="radio6" id="inlineRadio1" value="2" class="group1"> </td>
            <td><input type="radio" name="radio6" id="inlineRadio1" value="3" class="group1">  </td>
            <td> <input type="radio" name="radio6" id="inlineRadio1" value="4" class="group1"></td>
            <td><input type="radio" name="radio6" id="inlineRadio1" value="5" class="group1">  </td>

          </tr>
          <tr>
            <td>您容易失眠（没有很好的失眠质量）吗?</td>
            <td><input type="radio" name="radio7" id="inlineRadio1" value="1" class="group1">  </td>
            <td> <input type="radio" name="radio7" id="inlineRadio1" value="2" class="group1"> </td>
            <td><input type="radio" name="radio7" id="inlineRadio1" value="3" class="group1">  </td>
            <td> <input type="radio" name="radio7" id="inlineRadio1" value="4" class="group1"> </td>
            <td><input type="radio" name="radio7" id="inlineRadio1" value="5" class="group1">  </td>

          </tr>
          <tr>
            <td>您容易忘事（健忘）吗?</td>
            <td><input type="radio" name="radio8" id="inlineRadio1" value="1" class="group1"> </td>
            <td> <input type="radio" name="radio8" id="inlineRadio1" value="2" class="group1"> </td>
            <td><input type="radio" name="radio8" id="inlineRadio1" value="3" class="group1">  </td>
            <td> <input type="radio" name="radio8" id="inlineRadio1" value="4" class="group1"> </td>
            <td><input type="radio" name="radio8" id="inlineRadio1" value="5" class="group1">  </td>

          </tr>
          <%= render 'result' %>
        </tbody>
      </table>
      <table class="table table-bordered">
        <thead>
          <caption> 气虚型体质（B型）</caption>
        </thead>
        <tbody>
          <tr>
            <th>根据近一年的体验和感觉回答下问题</th>
            <th>没有或根本不</th>
            <th>很少或有一点</th>
            <th>有时或有些</th>
            <th>经常或相当</th>
            <th>总是或非常</th>
          </tr>
          <tr>
            <td>您容易气短（呼吸短促，接不上气）吗?</td>
            <td> <input type="radio" name="radio9" id="inlineRadio1" value="1" class="group2"> </td>
            <td><input  type="radio" name="radio9" id="inlineRadio1" value="2" class="group2">  </td>
            <td> <input type="radio" name="radio9" id="inlineRadio1" value="3" class="group2"> </td>
            <td><input  type="radio" name="radio9" id="inlineRadio1" value="4" class="group2">  </td>
            <td><input  type="radio" name="radio9" id="inlineRadio1" value="5" class="group2">  </td>
          </tr>
          <tr>
            <td>您容易疲乏吗？</td>
            <td> <input type="radio" name="radio10" id="inlineRadio1" value="1" class="group2"> </td>
            <td><input type="radio" name="radio10" id="inlineRadio1" value="2" class="group2">  </td>
            <td> <input type="radio" name="radio10" id="inlineRadio1" value="3" class="group2"> </td>
            <td><input type="radio" name="radio10" id="inlineRadio1" value="4" class="group2">  </td>
            <td><input type="radio" name="radio10" id="inlineRadio1" value="5" class="group2">  </td>
          </tr>
          <tr>
            <td>您容易心慌吗??</td>
            <td><input type="radio" name="radio11" id="inlineRadio1" value="1" class="group2">  </td>
            <td> <input type="radio" name="radio11" id="inlineRadio1" value="2" class="group2"> </td>
            <td><input type="radio" name="radio11" id="inlineRadio1" value="3" class="group2">  </td>
            <td> <input type="radio" name="radio11" id="inlineRadio1" value="4" class="group2"> </td>
            <td><input type="radio" name="radio11" id="inlineRadio1" value="5" class="group2">  </td>

          </tr>
          <tr>
            <td>您容易头晕或站起来眩晕吗??</td>
            <td><input type="radio" name="radio12" id="inlineRadio1" value="1" class="group2">  </td>
            <td> <input type="radio" name="radio12" id="inlineRadio1" value="2" class="group2"> </td>
            <td><input type="radio" name="radio12" id="inlineRadio1" value="3" class="group2">  </td>
            <td> <input type="radio" name="radio12" id="inlineRadio1" value="4" class="group2"> </td>
            <td><input type="radio" name="radio12" id="inlineRadio1" value="5" class="group2">  </td>

          </tr>
          <tr>
            <td>您比一般人容易患感冒吗??</td>
            <td><input type="radio" name="radio13" id="inlineRadio1" value="1" class="group2"> </td>
            <td> <input type="radio" name="radio13" id="inlineRadio1" value="2" class="group2"> </td>
            <td><input type="radio" name="radio13" id="inlineRadio1" value="3" class="group2">  </td>
            <td> <input type="radio" name="radio13" id="inlineRadio1" value="4" class="group2"> </td>
            <td><input type="radio" name="radio13" id="inlineRadio1" value="5" class="group2">  </td>

          </tr>
          <tr>
            <td>您喜欢安静，懒得说话吗??</td>
            <td><input type="radio" name="radio14" id="inlineRadio1" value="1" class="group2">  </td>
            <td> <input type="radio" name="radio14" id="inlineRadio1" value="2" class="group2"> </td>
            <td><input type="radio" name="radio14" id="inlineRadio1" value="3" class="group2">  </td>
            <td> <input type="radio" name="radio14" id="inlineRadio1" value="4" class="group2"></td>
            <td><input type="radio" name="radio14" id="inlineRadio1" value="5" class="group2">  </td>

          </tr>
          <tr>
            <td>您的说话声音低若无力吗??</td>
            <td><input type="radio" name="radio15" id="inlineRadio1" value="1" class="group2">  </td>
            <td> <input type="radio" name="radio15" id="inlineRadio1" value="2" class="group2"> </td>
            <td><input type="radio" name="radio15" id="inlineRadio1" value="3" class="group2">  </td>
            <td> <input type="radio" name="radio15" id="inlineRadio1" value="4" class="group2"> </td>
            <td><input type="radio" name="radio15" id="inlineRadio1" value="5" class="group2">  </td>

          </tr>
          <tr>
            <td>您的活动量稍大就容易出虚汗吗??</td>
            <td><input type="radio" name="radio16" id="inlineRadio1" value="1" class="group2"> </td>
            <td> <input type="radio" name="radio16" id="inlineRadio1" value="2" class="group2"> </td>
            <td><input type="radio" name="radio16" id="inlineRadio1" value="3" class="group2">  </td>
            <td> <input type="radio" name="radio16" id="inlineRadio1" value="4" class="group2"> </td>
            <td><input type="radio" name="radio16" id="inlineRadio1" value="5" class="group2">  </td>

          </tr>
          <%= render 'result' %>
        </tbody>
      </table>
      <table class="table table-bordered">
        <thead>
          <caption> 阳虚型体质（C型）</caption>
        </thead>
        <tbody>
          <tr>
            <th>根据近一年的体验和感觉回答下问题</th>
            <th>没有或根本不</th>
            <th>很少或有一点</th>
            <th>有时或有些</th>
            <th>经常或相当</th>
            <th>总是或非常</th>
          </tr>
          <tr>
            <td>您手脚发凉吗??</td>
            <td> <input type="radio" name="radio17" id="inlineRadio1" value="1" class="group3"> </td>
            <td><input  type="radio" name="radio17" id="inlineRadio1" value="2" class="group3">  </td>
            <td> <input type="radio" name="radio17" id="inlineRadio1" value="3" class="group3"> </td>
            <td><input  type="radio" name="radio17" id="inlineRadio1" value="4" class="group3">  </td>
            <td><input  type="radio" name="radio17" id="inlineRadio1" value="5" class="group3">  </td>
          </tr>
          <tr>
            <td>您的胃脘部、背部、腰膝部怕冷吗?</td>
            <td> <input type="radio" name="radio18" id="inlineRadio1" value="1" class="group3"> </td>
            <td><input type="radio" name="radio18" id="inlineRadio1" value="2" class="group3">  </td>
            <td> <input type="radio" name="radio18" id="inlineRadio1" value="3" class="group3"> </td>
            <td><input type="radio" name="radio18" id="inlineRadio1" value="4" class="group3">  </td>
            <td><input type="radio" name="radio18" id="inlineRadio1" value="5" class="group3">  </td>
          </tr>
          <tr>
            <td>您感到怕冷、衣服比别人穿的多吗??</td>
            <td><input type="radio" name="radio19" id="inlineRadio1" value="1" class="group3">  </td>
            <td> <input type="radio" name="radio19" id="inlineRadio1" value="2" class="group3"> </td>
            <td><input type="radio" name="radio19" id="inlineRadio1" value="3" class="group3">  </td>
            <td> <input type="radio" name="radio19" id="inlineRadio1" value="4" class="group3"> </td>
            <td><input type="radio" name="radio19" id="inlineRadio1" value="5" class="group3">  </td>

          </tr>
          <tr>
            <td>您吃喝凉东西感到不舒服或怕吃喝凉东西吗??</td>
            <td><input type="radio" name="radio20" id="inlineRadio1" value="1" class="group3">  </td>
            <td> <input type="radio" name="radio20" id="inlineRadio1" value="2" class="group3"> </td>
            <td><input type="radio" name="radio20" id="inlineRadio1" value="3" class="group3">  </td>
            <td> <input type="radio" name="radio20" id="inlineRadio1" value="4" class="group3">  </td>
            <td><input type="radio" name="radio20" id="inlineRadio1" value="5" class="group3">  </td>

          </tr>
          <tr>
            <td>您比一般人受不了寒凉（冬天冷和夏天空调）吗??</td>
            <td><input type="radio" name="radio21" id="inlineRadio1" value="1" class="group3"> </td>
            <td> <input type="radio" name="radio21" id="inlineRadio1" value="2" class="group3"> </td>
            <td><input type="radio" name="radio21" id="inlineRadio1" value="3" class="group3">  </td>
            <td> <input type="radio" name="radio21" id="inlineRadio1" value="4" class="group3"> </td>
            <td><input type="radio" name="radio21" id="inlineRadio1" value="5" class="group3">  </td>

          </tr>
          <tr>
            <td>您比别人容易患感冒吗??</td>
            <td><input type="radio" name="radio22" id="inlineRadio1" value="1" class="group3">  </td>
            <td> <input type="radio" name="radio22" id="inlineRadio1" value="2" class="group3"> </td>
            <td><input type="radio" name="radio22" id="inlineRadio1" value="3"  class="group3">  </td>
            <td> <input type="radio" name="radio22" id="inlineRadio1" value="4" class="group3"></td>
            <td><input type="radio" name="radio22" id="inlineRadio1" value="5" class="group3">  </td>

          </tr>
          <tr>
            <td>您受凉或者吃喝凉东西后，容易拉肚子（腹泻）吗??</td>
            <td><input type="radio" name="radio23" id="inlineRadio1" value="1" class="group3">  </td>
            <td> <input type="radio" name="radio23" id="inlineRadio1" value="2" class="group3"> </td>
            <td><input type="radio" name="radio23" id="inlineRadio1" value="3" class="group3">  </td>
            <td> <input type="radio" name="radio23" id="inlineRadio1" value="4" class="group3"> </td>
            <td><input type="radio" name="radio23" id="inlineRadio1" value="5" class="group3">  </td>

          </tr>
          <%= render 'result' %>
        </tbody>
      </table>
      <table class="table table-bordered">
        <thead>
          <caption> 阴虚型体质（D型）</caption>
        </thead>
        <tbody>
          <tr>
            <th>根据近一年的体验和感觉回答下问题</th>
            <th>没有或根本不</th>
            <th>很少或有一点</th>
            <th>有时或有些</th>
            <th>经常或相当</th>
            <th>总是或非常</th>
          </tr>
          <tr>
            <td>您感到手心脚心发热吗??</td>
            <td><input type="radio" name="radio24" id="inlineRadio1" value="1" class="group4"> </td>
            <td> <input type="radio" name="radio24" id="inlineRadio1" value="2"  class="group4"> </td>
            <td><input type="radio" name="radio24" id="inlineRadio1" value="3"  class="group4">  </td>
            <td> <input type="radio" name="radio24" id="inlineRadio1" value="4"  class="group4"> </td>
            <td><input type="radio" name="radio24" id="inlineRadio1" value="5"  class="group4">  </td>

          </tr>
          <tr>
            <td>您感觉身体、脸上发热吗??</td>
            <td> <input type="radio" name="radio25" id="inlineRadio1" value="1"  class="group4"> </td>
            <td><input  type="radio" name="radio25" id="inlineRadio1" value="2"  class="group4">  </td>
            <td> <input type="radio" name="radio25" id="inlineRadio1" value="3"  class="group4"> </td>
            <td><input  type="radio" name="radio25" id="inlineRadio1" value="4"  class="group4">  </td>
            <td><input  type="radio" name="radio25" id="inlineRadio1" value="5"  class="group4">  </td>
          </tr>
          <tr>
            <td>您的皮肤或者口唇干吗?</td>
            <td> <input type="radio" name="radio26" id="inlineRadio1" value="1"  class="group4"> </td>
            <td><input type="radio" name="radio26" id="inlineRadio1" value="2"  class="group4">  </td>
            <td> <input type="radio" name="radio26" id="inlineRadio1" value="3"  class="group4"> </td>
            <td><input type="radio" name="radio26" id="inlineRadio1" value="4"  class="group4">  </td>
            <td><input type="radio" name="radio26" id="inlineRadio1" value="5"  class="group4">  </td>
          </tr>
          <tr>
            <td>您的口唇颜色比一般人红吗?</td>
            <td><input type="radio" name="radio27" id="inlineRadio1" value="1"  class="group4">  </td>
            <td> <input type="radio" name="radio27" id="inlineRadio1" value="2"  class="group4"> </td>
            <td><input type="radio" name="radio27" id="inlineRadio1" value="3"  class="group4">  </td>
            <td> <input type="radio" name="radio27" id="inlineRadio1" value="4"  class="group4"> </td>
            <td><input type="radio" name="radio27" id="inlineRadio1" value="5"  class="group4">  </td>

          </tr>
          <tr>
            <td>您容易便秘或者大便干燥吗?</td>
            <td><input type="radio" name="radio28" id="inlineRadio1" value="1"  class="group4">  </td>
            <td> <input type="radio" name="radio28" id="inlineRadio1" value="2"  class="group4"> </td>
            <td><input type="radio" name="radio28" id="inlineRadio1" value="3"  class="group4">  </td>
            <td> <input type="radio" name="radio28" id="inlineRadio1" value="4"  class="group4"> </td>
            <td><input type="radio" name="radio28" id="inlineRadio1" value="5"  class="group4">  </td>

          </tr>
          <tr>
            <td>您面部两颧潮红或者偏红吗?</td>
            <td><input type="radio" name="radio29" id="inlineRadio1" value="1"  class="group4"> </td>
            <td> <input type="radio" name="radio29" id="inlineRadio1" value="2"  class="group4"> </td>
            <td><input type="radio" name="radio29" id="inlineRadio1" value="3"  class="group4">  </td>
            <td> <input type="radio" name="radio29" id="inlineRadio1" value="4"  class="group4"> </td>
            <td><input type="radio" name="radio29" id="inlineRadio1" value="5"  class="group4">  </td>

          </tr>
          <tr>
            <td>您的眼睛感到干涩吗?</td>
            <td><input type="radio" name="radio30" id="inlineRadio1" value="1"  class="group4">  </td>
            <td> <input type="radio" name="radio30" id="inlineRadio1" value="2" class="group4"> </td>
            <td><input type="radio" name="radio30" id="inlineRadio1" value="3" class="group4">  </td>
            <td> <input type="radio" name="radio30" id="inlineRadio1" value="4" class="group4"></td>
            <td><input type="radio" name="radio30" id="inlineRadio1" value="5" class="group4">  </td>

          </tr>
          <tr>
            <td>您感到口干咽燥，总想喝水吗?</td>
            <td><input type="radio" name="radio31" id="inlineRadio1" value="1" class="group4">  </td>
            <td> <input type="radio" name="radio31" id="inlineRadio1" value="2" class="group4"> </td>
            <td><input type="radio" name="radio31" id="inlineRadio1" value="3" class="group4">  </td>
            <td> <input type="radio" name="radio31" id="inlineRadio1" value="4" class="group4"> </td>
            <td><input type="radio" name="radio31" id="inlineRadio1" value="5" class="group4">  </td>

          </tr>
          <%= render 'result' %>
        </tbody>
      </table>
      <table class="table table-bordered">
        <thead>
          <caption> 痰湿型体质（E型）</caption>
        </thead>
        <tbody>
          <tr>
            <th>根据近一年的体验和感觉回答下问题</th>
            <th>没有或根本不</th>
            <th>很少或有一点</th>
            <th>有时或有些</th>
            <th>经常或相当</th>
            <th>总是或非常</th>
          </tr>
          <tr>
            <td>您感到胸闷或者腹部胀满吗??</td>
            <td><input type="radio" name="radio32" id="inlineRadio1" value="1" class="group5"> </td>
            <td> <input type="radio" name="radio32" id="inlineRadio1" value="2" class="group5"> </td>
            <td><input type="radio" name="radio32" id="inlineRadio1" value="3" class="group5">  </td>
            <td> <input type="radio" name="radio32" id="inlineRadio1" value="4" class="group5"> </td>
            <td><input type="radio" name="radio32" id="inlineRadio1" value="5" class="group5">  </td>

          </tr>
          <tr>
            <td>您感到身体沉重不轻松或不爽快吗?</td>
            <td> <input type="radio" name="radio33" id="inlineRadio1" value="1" class="group5"> </td>
            <td><input  type="radio" name="radio33" id="inlineRadio1" value="2" class="group5">  </td>
            <td> <input type="radio" name="radio33" id="inlineRadio1" value="3" class="group5"> </td>
            <td><input  type="radio" name="radio33" id="inlineRadio1" value="4" class="group5">  </td>
            <td><input  type="radio" name="radio33" id="inlineRadio1" value="5" class="group5">  </td>
          </tr>
          <tr>
            <td>您的腹部肥满松软吗?</td>
            <td> <input type="radio" name="radio34" id="inlineRadio1" value="1" class="group5"> </td>
            <td><input type="radio" name="radio34" id="inlineRadio1" value="2" class="group5">  </td>
            <td> <input type="radio" name="radio34" id="inlineRadio1" value="3" class="group5"> </td>
            <td><input type="radio" name="radio34" id="inlineRadio1" value="4" class="group5">  </td>
            <td><input type="radio" name="radio34" id="inlineRadio1" value="5" class="group5">  </td>
          </tr>
          <tr>
            <td>您有额头部油脂分泌过多的显现吗??</td>
            <td><input type="radio" name="radio35" id="inlineRadio1" value="1" class="group5">  </td>
            <td> <input type="radio" name="radio35" id="inlineRadio1" value="2" class="group5"> </td>
            <td><input type="radio" name="radio35" id="inlineRadio1" value="3" class="group5">  </td>
            <td> <input type="radio" name="radio35" id="inlineRadio1" value="4" class="group5"> </td>
            <td><input type="radio" name="radio35" id="inlineRadio1" value="5" class="group5">  </td>

          </tr>
          <tr>
            <td>您上眼脸比别人肿（或者有轻微隆起现象）吗?</td>
            <td><input type="radio" name="radio36" id="inlineRadio1" value="1" class="group5">  </td>
            <td> <input type="radio" name="radio36" id="inlineRadio1" value="2" class="group5"> </td>
            <td><input type="radio" name="radio36" id="inlineRadio1" value="3" class="group5">  </td>
            <td> <input type="radio" name="radio36" id="inlineRadio1" value="4" class="group5"> </td>
            <td><input type="radio" name="radio36" id="inlineRadio1" value="5" class="group5">  </td>

          </tr>
          <tr>
            <td>您嘴里有黏黏的感觉嘛吗?</td>
            <td><input type="radio" name="radio37" id="inlineRadio1" value="1" class="group5"> </td>
            <td> <input type="radio" name="radio37" id="inlineRadio1" value="2" class="group5"> </td>
            <td><input type="radio" name="radio37" id="inlineRadio1" value="3" class="group5">  </td>
            <td> <input type="radio" name="radio37" id="inlineRadio1" value="4" class="group5"> </td>
            <td><input type="radio" name="radio37" id="inlineRadio1" value="5" class="group5">  </td>

          </tr>
          <tr>
            <td>您平视痰多，特别是咽喉部总感到有痰的感觉吗??</td>
            <td><input type="radio" name="radio38" id="inlineRadio1" value="1" class="group5">  </td>
            <td> <input type="radio" name="radio38" id="inlineRadio1" value="2" class="group5"> </td>
            <td><input type="radio" name="radio38" id="inlineRadio1" value="3" class="group5">  </td>
            <td> <input type="radio" name="radio38" id="inlineRadio1" value="4" class="group5"></td>
            <td><input type="radio" name="radio38" id="inlineRadio1" value="5" class="group5">  </td>

          </tr>
          <tr>
            <td>您舌苔厚腻或者有舌苔厚厚的感觉吗??</td>
            <td><input type="radio" name="radio39" id="inlineRadio1" value="1" class="group5">  </td>
            <td> <input type="radio" name="radio39" id="inlineRadio1" value="2" class="group5"> </td>
            <td><input type="radio" name="radio39" id="inlineRadio1" value="3" class="group5">  </td>
            <td> <input type="radio" name="radio39" id="inlineRadio1" value="4" class="group5"> </td>
            <td><input type="radio" name="radio39" id="inlineRadio1" value="5" class="group5">  </td>

          </tr>
          <%= render 'result' %>

        </tbody>
      </table>
      <table class="table table-bordered">
        <thead>
          <caption> 湿热型体质（F型）</caption>
        </thead>
        <tbody>
          <tr>
            <th>根据近一年的体验和感觉回答下问题</th>
            <th>没有或根本不</th>
            <th>很少或有一点</th>
            <th>有时或有些</th>
            <th>经常或相当</th>
            <th>总是或非常</th>
          </tr>
          <tr>
            <td>您面部或者鼻子步有油腻感或者油光发亮吗?</td>
            <td><input type="radio" name="radio40" id="inlineRadio1" value="1" class="group6"> </td>
            <td> <input type="radio" name="radio40" id="inlineRadio1" value="2" class="group6"> </td>
            <td><input type="radio" name="radio40" id="inlineRadio1" value="3" class="group6">  </td>
            <td> <input type="radio" name="radio40" id="inlineRadio1" value="4" class="group6"> </td>
            <td><input type="radio" name="radio40" id="inlineRadio1" value="5" class="group6">  </td>

          </tr>
          <tr>
            <td>您容易生痤疮或疮疖吗??</td>
            <td> <input type="radio" name="radio41" id="inlineRadio1" value="1" class="group6"> </td>
            <td><input  type="radio" name="radio41" id="inlineRadio1" value="2" class="group6">  </td>
            <td> <input type="radio" name="radio41" id="inlineRadio1" value="3" class="group6"> </td>
            <td><input  type="radio" name="radio41" id="inlineRadio1" value="4" class="group6">  </td>
            <td><input  type="radio" name="radio41" id="inlineRadio1" value="5" class="group6">  </td>
          </tr>
          <tr>
            <td>您感到口苦或者口里有异味吗?</td>
            <td> <input type="radio" name="radio42" id="inlineRadio1" value="1" class="group6"> </td>
            <td><input type="radio" name="radio42" id="inlineRadio1" value="2" class="group6">  </td>
            <td> <input type="radio" name="radio42" id="inlineRadio1" value="3" class="group6"> </td>
            <td><input type="radio" name="radio42" id="inlineRadio1" value="4" class="group6">  </td>
            <td><input type="radio" name="radio42" id="inlineRadio1" value="5" class="group6">  </td>
          </tr>
          <tr>
            <td>您小便时尿道有发热感，尿色浓（深）吗?</td>
            <td><input type="radio" name="radio43" id="inlineRadio1" value="1" class="group6">  </td>
            <td> <input type="radio" name="radio43" id="inlineRadio1" value="2" class="group6"> </td>
            <td><input type="radio" name="radio43" id="inlineRadio1" value="3" class="group6">  </td>
            <td> <input type="radio" name="radio43" id="inlineRadio1" value="4" class="group6"> </td>
            <td><input type="radio" name="radio43" id="inlineRadio1" value="5" class="group6">  </td>

          </tr>
          <tr>
            <td>您带下色黄（白带颜色发黄）吗（限女性回答）?</td>
            <td><input type="radio" name="radio44" id="inlineRadio1" value="1" class="group6">  </td>
            <td> <input type="radio" name="radio44" id="inlineRadio1" value="2" class="group6"> </td>
            <td><input type="radio" name="radio44" id="inlineRadio1" value="3" class="group6">  </td>
            <td> <input type="radio" name="radio44" id="inlineRadio1" value="4" class="group6"> </td>
            <td><input type="radio" name="radio44" id="inlineRadio1" value="5" class="group6">  </td>

          </tr>
          <tr>
            <td>您的阴囊部位潮湿吗（限男性回答）?</td>
            <td><input type="radio" name="radio45" id="inlineRadio1" value="1" class="group6"> </td>
            <td> <input type="radio" name="radio45" id="inlineRadio1" value="2" class="group6"> </td>
            <td><input type="radio" name="radio45" id="inlineRadio1" value="3" class="group6">  </td>
            <td> <input type="radio" name="radio45" id="inlineRadio1" value="4" class="group6"> </td>
            <td><input type="radio" name="radio45" id="inlineRadio1" value="5" class="group6">  </td>

          </tr>
          <tr>
            <td>您大便黏滞不爽、有解不尽的感觉吗?</td>
            <td><input type="radio" name="radio46" id="inlineRadio1" value="1" class="group6">  </td>
            <td> <input type="radio" name="radio46" id="inlineRadio1" value="2" class="group6"> </td>
            <td><input type="radio" name="radio46" id="inlineRadio1" value="3" class="group6">  </td>
            <td> <input type="radio" name="radio46" id="inlineRadio1" value="4" class="group6"></td>
            <td><input type="radio" name="radio46" id="inlineRadio1" value="5" class="group6">  </td>

          </tr>
          <%= render 'result' %>
        </tbody>
      </table>
      <table class="table table-bordered">
        <thead>
          <caption> 血瘀型体质（G型）</caption>
        </thead>
        <tbody>
          <tr>
            <th>根据近一年的体验和感觉回答下问题</th>
            <th>没有或根本不</th>
            <th>很少或有一点</th>
            <th>有时或有些</th>
            <th>经常或相当</th>
            <th>总是或非常</th>
          </tr>
          <tr>
            <td>您的皮肤在不知不觉中会出现青紫瘀斑（皮下出血）吗?</td>
            <td><input type="radio" name="radio47" id="inlineRadio1" value="1"  class="group7">  </td>
            <td> <input type="radio" name="radio47" id="inlineRadio1" value="2" class="group7"> </td>
            <td><input type="radio" name="radio47" id="inlineRadio1" value="3"  class="group7">  </td>
            <td> <input type="radio" name="radio47" id="inlineRadio1" value="4" class="group7"> </td>
            <td><input type="radio" name="radio47" id="inlineRadio1" value="5"  class="group7">  </td>

          </tr>
          <tr>
            <td>您两颧部有细微红丝吗?</td>
            <td><input type="radio" name="radio48" id="inlineRadio1" value="1" class="group7"> </td>
            <td> <input type="radio" name="radio48" id="inlineRadio1" value="2" class="group7"> </td>
            <td><input type="radio" name="radio48" id="inlineRadio1" value="3" class="group7">  </td>
            <td> <input type="radio" name="radio48" id="inlineRadio1" value="4" class="group7"> </td>
            <td><input type="radio" name="radio48" id="inlineRadio1" value="5" class="group7">  </td>

          </tr>
          <tr>
            <td>您身体上有那里疼痛吗?</td>
            <td> <input type="radio" name="radio49" id="inlineRadio1" value="1" class="group7"> </td>
            <td><input  type="radio" name="radio49" id="inlineRadio1" value="2" class="group7">  </td>
            <td> <input type="radio" name="radio49" id="inlineRadio1" value="3" class="group7"> </td>
            <td><input  type="radio" name="radio49" id="inlineRadio1" value="4" class="group7">  </td>
            <td><input  type="radio" name="radio49" id="inlineRadio1" value="5" class="group7">  </td>
          </tr>
          <tr>
            <td>您的面色晦暗或容易出现褐斑吗?</td>
            <td> <input type="radio" name="radio50" id="inlineRadio1" value="1" class="group7"> </td>
            <td><input type="radio" name="radio50" id="inlineRadio1" value="2" class="group7">  </td>
            <td> <input type="radio" name="radio50" id="inlineRadio1" value="3" class="group7"> </td>
            <td><input type="radio" name="radio50" id="inlineRadio1" value="4" class="group7">  </td>
            <td><input type="radio" name="radio50" id="inlineRadio1" value="5" class="group7">  </td>
          </tr>
          <tr>
            <td>您容易有黑眼圈吗??</td>
            <td><input type="radio" name="radio51" id="inlineRadio1" value="1" class="group7">  </td>
            <td> <input type="radio" name="radio51" id="inlineRadio1" value="2" class="group7"> </td>
            <td><input type="radio" name="radio51" id="inlineRadio1" value="3" class="group7">  </td>
            <td> <input type="radio" name="radio51" id="inlineRadio1" value="4" class="group7"> </td>
            <td><input type="radio" name="radio51" id="inlineRadio1" value="5" class="group7">  </td>

          </tr>
          <tr>
            <td>您口唇颜色偏黯吗??</td>
            <td><input type="radio" name="radio52" id="inlineRadio1" value="1" class="group7">  </td>
            <td> <input type="radio" name="radio52" id="inlineRadio1" value="2" class="group7"> </td>
            <td><input type="radio" name="radio52" id="inlineRadio1" value="3" class="group7">  </td>
            <td> <input type="radio" name="radio52" id="inlineRadio1" value="4" class="group7"> </td>
            <td><input type="radio" name="radio52" id="inlineRadio1" value="5" class="group7">  </td>

          </tr>
          <tr>
            <td>您容易忘事吗??</td>
            <td><input type="radio" name="radio53" id="inlineRadio1" value="1" class="group7"> </td>
            <td> <input type="radio" name="radio53" id="inlineRadio1" value="2" class="group7"> </td>
            <td><input type="radio" name="radio53" id="inlineRadio1" value="3" class="group7">  </td>
            <td> <input type="radio" name="radio53" id="inlineRadio1" value="4" class="group7"> </td>
            <td><input type="radio" name="radio53" id="inlineRadio1" value="5" class="group7">  </td>

          </tr>
          <%= render 'result' %>

        </tbody>
      </table>
      <table class="table table-bordered">
        <thead>
          <caption> 气郁型体质（H型）</caption>
        </thead>
        <tbody>
          <tr>
            <th>根据近一年的体验和感觉回答下问题</th>
            <th>没有或根本不</th>
            <th>很少或有一点</th>
            <th>有时或有些</th>
            <th>经常或相当</th>
            <th>总是或非常</th>
          </tr>
          <tr>
            <td>您感觉到闷闷不乐，情绪低沉吗?</td>
            <td><input type="radio" name="radio54" id="inlineRadio1" value="1" class="group8">  </td>
            <td> <input type="radio" name="radio54" id="inlineRadio1" value="2" class="group8"> </td>
            <td><input type="radio" name="radio54" id="inlineRadio1" value="3" class="group8">  </td>
            <td> <input type="radio" name="radio54" id="inlineRadio1" value="4" class="group8"></td>
            <td><input type="radio" name="radio54" id="inlineRadio1" value="5" class="group8">  </td>

          </tr>
          <tr>
            <td>您容易精神紧张、焦虑不安吗?</td>
            <td><input type="radio" name="radio55" id="inlineRadio1" value="1" class="group8">  </td>
            <td> <input type="radio" name="radio55" id="inlineRadio1" value="2" class="group8"> </td>
            <td><input type="radio" name="radio55" id="inlineRadio1" value="3" class="group8">  </td>
            <td> <input type="radio" name="radio55" id="inlineRadio1" value="4" class="group8"> </td>
            <td><input type="radio" name="radio55" id="inlineRadio1" value="5" class="group8">  </td>

          </tr>
          <tr>
            <td>您多愁善感、感情脆弱吗?</td>
            <td><input type="radio" name="radio56" id="inlineRadio1" value="1" class="group8"> </td>
            <td> <input type="radio" name="radio56" id="inlineRadio1" value="2" class="group8"> </td>
            <td><input type="radio" name="radio56" id="inlineRadio1" value="3" class="group8">  </td>
            <td> <input type="radio" name="radio56" id="inlineRadio1" value="4" class="group8"> </td>
            <td><input type="radio" name="radio56" id="inlineRadio1" value="5" class="group8">  </td>

          </tr>
          <tr>
            <td>您容易感到害怕或者受到惊吓吗?</td>
            <td> <input type="radio" name="radio57" id="inlineRadio1" value="1" class="group8"> </td>
            <td><input  type="radio" name="radio57" id="inlineRadio1" value="2" class="group8">  </td>
            <td> <input type="radio" name="radio57" id="inlineRadio1" value="3" class="group8"> </td>
            <td><input  type="radio" name="radio57" id="inlineRadio1" value="4" class="group8">  </td>
            <td><input  type="radio" name="radio57" id="inlineRadio1" value="5" class="group8">  </td>
          </tr>
          <tr>
            <td>您胁肋部或乳房胀痛吗?</td>
            <td> <input type="radio" name="radio58" id="inlineRadio1" value="1" class="group8"> </td>
            <td><input type="radio" name="radio58" id="inlineRadio1" value="2" class="group8">  </td>
            <td> <input type="radio" name="radio58" id="inlineRadio1" value="3" class="group8"> </td>
            <td><input type="radio" name="radio58" id="inlineRadio1" value="4" class="group8">  </td>
            <td><input type="radio" name="radio58" id="inlineRadio1" value="5" class="group8">  </td>
          </tr>
          <tr>
            <td>您无缘无故叹气吗?</td>
            <td><input type="radio" name="radio59" id="inlineRadio1" value="1" class="group8">  </td>
            <td> <input type="radio" name="radio59" id="inlineRadio1" value="2" class="group8"> </td>
            <td><input type="radio" name="radio59" id="inlineRadio1" value="3" class="group8" >  </td>
            <td> <input type="radio" name="radio59" id="inlineRadio1" value="4" class="group8"> </td>
            <td><input type="radio" name="radio59" id="inlineRadio1" value="5" class="group8">  </td>

          </tr>
          <tr>
            <td>您咽部有异物感，且吐之不出，咽之不下吗?</td>
            <td><input type="radio" name="radio60" id="inlineRadio1" value="1" class="group8">  </td>
            <td> <input type="radio" name="radio60" id="inlineRadio1" value="2" class="group8"> </td>
            <td><input type="radio" name="radio60" id="inlineRadio1" value="3" class="group8">  </td>
            <td> <input type="radio" name="radio60" id="inlineRadio1" value="4" class="group8"> </td>
            <td><input type="radio" name="radio60" id="inlineRadio1" value="5" class="group8">  </td>

          </tr>
          <%= render 'result' %>

        </tbody>
      </table>
      <table class="table table-bordered">
        <thead>
          <caption> 禀型体质（I型）</caption>
        </thead>
        <tbody>
          <tr>
            <th>根据近一年的体验和感觉回答下问题</th>
            <th>没有或根本不</th>
            <th>很少或有一点</th>
            <th>有时或有些</th>
            <th>经常或相当</th>
            <th>总是或非常</th>
          </tr>
          <tr>
            <td>您没有感冒时也会打喷嚏吗?</td>
            <td><input type="radio" name="radio61" id="inlineRadio1" value="1" class="group9"> </td>
            <td> <input type="radio" name="radio61" id="inlineRadio1" value="2" class="group9"> </td>
            <td><input type="radio" name="radio61" id="inlineRadio1" value="3" class="group9">  </td>
            <td> <input type="radio" name="radio61" id="inlineRadio1" value="4" class="group9"> </td>
            <td><input type="radio" name="radio61" id="inlineRadio1" value="5" class="group9">  </td>

          </tr>
          <tr>
            <td>您没有感冒也会鼻塞、流鼻涕吗?</td>
            <td><input type="radio" name="radio62" id="inlineRadio1" value="1" class="group9">  </td>
            <td> <input type="radio" name="radio62" id="inlineRadio1" value="2" class="group9"> </td>
            <td><input type="radio" name="radio62" id="inlineRadio1" value="3" class="group9">  </td>
            <td> <input type="radio" name="radio62" id="inlineRadio1" value="4" class="group9"></td>
            <td><input type="radio" name="radio62" id="inlineRadio1" value="5" class="group9">  </td>

          </tr>
          <tr>
            <td>您有季节变化，温度变化或异味而咳喘现象吗?</td>
            <td><input type="radio" name="radio63" id="inlineRadio1" value="1" class="group9">  </td>
            <td> <input type="radio" name="radio63" id="inlineRadio1" value="2" class="group9"> </td>
            <td><input type="radio" name="radio63" id="inlineRadio1" value="3" class="group9">  </td>
            <td> <input type="radio" name="radio63" id="inlineRadio1" value="4" class="group9"> </td>
            <td><input type="radio" name="radio63" id="inlineRadio1" value="5" class="group9">  </td>

          </tr>
          <tr>
            <td>您容易过敏（对药物、食物、气味、花粉）吗?</td>
            <td><input type="radio" name="radio64" id="inlineRadio1" value="1" class="group9"> </td>
            <td> <input type="radio" name="radio64" id="inlineRadio1" value="2" class="group9"> </td>
            <td><input type="radio" name="radio64" id="inlineRadio1" value="3" class="group9">  </td>
            <td> <input type="radio" name="radio64" id="inlineRadio1" value="4" class="group9"> </td>
            <td><input type="radio" name="radio64" id="inlineRadio1" value="5" class="group9">  </td>

          </tr>
          <tr>
            <td>您的皮肤容易引起需麻疹（风团、风疹块，风疙瘩）吗?</td>
            <td> <input type="radio" name="radio65" id="inlineRadio1" value="1" class="group9"> </td>
            <td><input  type="radio" name="radio65" id="inlineRadio1" value="2" class="group9">  </td>
            <td> <input type="radio" name="radio65" id="inlineRadio1" value="3" class="group9">  </td>
            <td><input  type="radio" name="radio65" id="inlineRadio1" value="4" class="group9">  </td>
            <td><input  type="radio" name="radio65" id="inlineRadio1" value="5" class="group9">  </td>
          </tr>
          <tr>
            <td>您的皮肤因过敏出现紫癜（紫红色於点、瘀斑）吗?</td>
            <td> <input type="radio" name="radio66" id="inlineRadio1" value="1" class="group9"> </td>
            <td><input type="radio" name="radio66" id="inlineRadio1" value="2" class="group9">  </td>
            <td> <input type="radio" name="radio66" id="inlineRadio1" value="3" class="group9"> </td>
            <td><input type="radio" name="radio66" id="inlineRadio1" value="4" class="group9">  </td>
            <td><input type="radio" name="radio66" id="inlineRadio1" value="5" class="group9">  </td>
          </tr>
          <tr>
            <td>您的皮肤一抓就红，并出现抓痕吗?</td>
            <td><input type="radio" name="radio67" id="inlineRadio1" value="1" class="group9">  </td>
            <td> <input type="radio" name="radio67" id="inlineRadio1" value="2" class="group9"> </td>
            <td><input type="radio" name="radio67" id="inlineRadio1" value="3" class="group9">  </td>
            <td> <input type="radio" name="radio67" id="inlineRadio1" value="4" class="group9"> </td>
            <td><input type="radio" name="radio67" id="inlineRadio1" value="5" class="group9">  </td>
          </tr>
          <%= render 'result' %>

        </tbody>
      </table>
      <div id="score_result"></div>
      <button type="button" class="btn btn-info" id="btn">提交</button>
    </div>
  </div>
</div>
<script>
window.onload=function(){
$(document).ready(function(){
  $("#btn").click(function(){
    var sum1=0,sum2=0,sum3=0,sum4=0,sum5=0,sum6=0,sum7=0,sum8=0,sum9=0;
    var a1 = 0,a2=0,a3=0,a4=0,a5=0,a6=0,a7=0,a8=0,a9=0;
    $(":radio[class='group1']:checked").each(function(index,dom){
      a1 =parseInt( $(dom).val());
      sum1 = sum1 + a1;
    });
    $(":radio[class='group2']:checked").each(function(index,dom){
      a2 =parseInt( $(dom).val());
      sum2 = sum2 + a2;
    });
    $(":radio[class='group3']:checked").each(function(index,dom){
      a3 =parseInt( $(dom).val());
      sum3 = sum3 + a3;
    });
    $(":radio[class='group4']:checked").each(function(index,dom){
      a4 =parseInt( $(dom).val());
      sum4 = sum4 + a4;
    });
    $(":radio[class='group5']:checked").each(function(index,dom){
      a5 =parseInt( $(dom).val());
      sum5 = sum5 + a5;
    });
    $(":radio[class='group6']:checked").each(function(index,dom){
      a6 =parseInt( $(dom).val());
      sum6 = sum6+ a6;
    });
    $(":radio[class='group7']:checked").each(function(index,dom){
      a7 =parseInt( $(dom).val());
      sum7 = sum7 + a7;
    });
    $(":radio[class='group8']:checked").each(function(index,dom){
      a8 =parseInt( $(dom).val());
      sum8 = sum8 + a8;
    });
    $(":radio[class='group9']:checked").each(function(index,dom){
      a9 =parseInt( $(dom).val());
      sum9 = sum9 + a9;
    });
    var name =$("#name").val();
    var tel =$("#tel").val();
    var data = {"tel":tel,"name":name,"score1":sum1,"score2":sum2,"score3":sum3,"score4":sum4,"score5":sum5,"score6":sum6,"score7":sum7,"score8":sum8,"score9":sum9};
    $.ajax({
     type: "POST",
     url: "/healthmanage/score",
     data: data,
    });
  });
});
}
</script>
